package dataformat

import v10 "github.com/go-playground/validator/v10"

const (
	TagHTML = "html"
)

func IsHTML(content string) bool {
	validate := v10.New(v10.WithRequiredStructEnabled())
	err := validate.Var(content, TagHTML)
	return err == nil
}
